<form action="/<?= $this->action;?>" method="post">
<?php
echo $this->formText('query', $this->query);
$categories = DigSearch_Service_Index::getIndexCategories($this->index);
$categoryArray[] = 'Search All';
if($categories) {
foreach ($categories as $category) {
    $categoryArray[$category] = $category;
}
echo $this->formSelect('category', $this->category, null, $categoryArray);
}
echo $this->formSubmit('submit', 'Search');
?>
</form>
